"Text Animation"
Bootstrap 4.1.1 Snippet by ALIMUL AL RAZY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div id="animateMe">
Hello Bangladesh
</div>
<script src="https://cdn.jsdelivr.net/npm/animejs@3.1.0/lib/anime.min.js"></script>
<script>
import Letterize from "https://cdn.skypack.dev/letterizejs@2.0.0";
const test = new Letterize({
targets: "#animateMe"
});
var animation = anime.timeline({
targets: test.listAll,
delay: anime.stagger(50),
loop: true
});
animation
.add({
translateY: -40
})
.add({
translateY: 0
});
</script>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
body {
background-color: #222;
color: #fff;
font-weight: 800;
font-size: 5vw;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-family: "Khula", sans-serif;
height: 100vh;
box-sizing: border-box;
margin: 0;
}
span {
display: inline-block;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: